<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" 
                                                  prefix="fn" %>
<%@ include file="/pages/common/taglibs.jsp"%>
<!--[if IE 6]><div id="ie6" class="ie"><![endif]-->
<!--[if IE 7]><div id="ie7" class="ie"><![endif]-->
<%-- <tiles:insertAttribute name="header" />
	<div class="main fix">
		<tiles:insertAttribute name="content" />
	</div>
	<tiles:insertAttribute name="footer" /> --%>
<!--[if lte IE 7]></div><![endif]-->
<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/cbrmb/cbrmbpay.js"></script>
<form:form id='payForm' name="payForm" action="${ctx}/cbrmb/paySubmit.do"
	method="post" target="_blank">
	<input type="hidden" id="verficationCode" name="verficationCode"
		value="${sessionScope.gopay_webtest_key}" size="50" />
	<table width="100%">
		<tr>
			<td width="30%" align=right>交易代码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranCode" name="tranCode" value="7020" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户ID:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merchantID" name="merchantID" value="${payInfo.merchantID}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merchantIDTip"></span>
			</td>
		</tr>
	<!-- 	<tr>
			<td width="30%" align=right>是否保税:</td>
			<td align=left width="45%">&nbsp;&nbsp;<select id="isBonded"
				name="isBonded" style="width: 60%" >
					<option value="0">是</option>
					<option value="1">否</option>
			</select></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="isBondedTip"></span>
			</td>
		</tr> -->
		<tr>
			<td width="30%" align=right>收货人:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="receiver" name="receiver" value="${payInfo.receiver}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="receiverTip"></span>
			</td>
		</tr>
			<td width="30%" align=right>收货人身份证:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="certNo" name="certNo" value=""
				size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<!-- Update: Andronicus.Ge 2016-12-07 -->
		<!-- 新增承运商,运单号和运单类型字段 -->
		<!-- ============================================START============================================= -->
		</tr>
			<td width="30%" align=right>承运商:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="carrier" name="carrier" value=""
				size="50" />
			</td>
		</tr>
		</tr>
			<td width="30%" align=right>运单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="freightNum" name="freightNum" value=""
				size="50" />
			</td>
		</tr>
		</tr>
			<td width="30%" align=right>运单类型:</td>
			<td align=left width="45%">
				&nbsp;&nbsp;
				<select id="freight_type" name="freightType">
					<option selected="selected"></option>
					<option value="upload">上传</option>
					<option value="add">新增</option>
				</select>
			</td>
		</tr>
		<!-- ============================================END=============================================== -->
		<tr>
			<td width="30%" align=right>订单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merOrderNum" name="merOrderNum" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merOrderNumTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>交易金额:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranAmt" name="tranAmt" value="" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranAmtTip"></span>
			</td>
		</tr>
<!-- 		<tr>
			<td width="30%" align=right>运费:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="transportAmt" name="transportAmt" value="" size="50" />
			</td>
				<td width="25%" align=left></td>
		</tr> -->
		<tr>
			<td width="30%" align=right>提留金:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="feeAmt" name="feeAmt" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>币种:</td>
		<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="currencyType" name="currencyType"
				value="${payInfo.currType}" size="50" />
			</td>
<!-- 			<td align=left width="45%">&nbsp;&nbsp;
			<select id="currencyType" name="currencyType" style="width: 60%">
			        <option value=" " ></option>
					<option value="840" >美元</option>
					<option value="978" >欧元</option>
					<option value="392">日元</option>
					<option value="036">澳大利亚元</option>
					<option value="826">英镑</option>
					<option value="124">加元</option>
					<option value="344">港元</option>
					<option value="756">瑞士法郎</option>
					<option value="702">新加坡元</option>
					<option value="554">新西兰元</option>
			</select>
			
			</td> -->
			<td width="25%" align=left><font color=red>*</font><span
				id="currencyTypeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>交易时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranDateTime" name="tranDateTime"
				value="${payInfo.tranDateTime}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>国付宝服务器时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="gopayServerTime" name="gopayServerTime"
				value="${payInfo.tranDateTime}" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>国付宝转入账户:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="virCardNoIn" name="virCardNoIn" value="${payInfo.virCardNoIn}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="virCardNoInTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>用户浏览器IP:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranIP" name="tranIP" value="${payInfo.tranIP}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranIPTip"></span>
			</td>
		</tr>
<tr>
			<td width="30%" align=right>银行代码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="bankCode" name="bankCode" value="" size="50" />
			</td>
			<td width="25%" align=left><span
				id="bankCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>用户类型:</td>
			<td align=left width="45%">&nbsp;&nbsp;<select id="userType"
				name="userType" style="width: 60%">
					<option value=""></option>
					<option value="1">1</option>
					<option value="2">2</option>
					<option value="3">3</option>
			</select></td>
		</tr>
		<tr>
			<td width="30%" align=right>版本号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<select id="version"
				name="version" style="width: 60%" ><option value=""
						<c:if test="${payinfo.version=='' }"><c:out value=""></c:out></c:if>>请选择</option>
					<option value="2.0" selected="selected">2.0</option>
			<!-- 	<option value="2.0">2.0</option> -->	
			</select></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="versionTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>字符集:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="charset" name="charset" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:GBK,2:UTF-8 (不填则当成1处理)
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>语言种类:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="language" name="language" value="1" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="languageTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:ZH,2:EN
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>签名类型:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="signType" name="signType" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:MD5,2:SHA
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户服务器后台通知地址:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="backgroundMerUrl" name="backgroundMerUrl"
				value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/background.do')}" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户返回页面地址:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="frontMerUrl" name="frontMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/front/recv.do')}"
				size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商品名称:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="goodsName" name="goodsName" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商品描述:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="goodsDetail" name="goodsDetail" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户备用字段1:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merRemark1" name="merRemark1" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户备用字段2:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merRemark2" name="merRemark2" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>买方姓名:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="buyerName" name="buyerName" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>买方联系方式:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="buyerContact" name="buyerContact" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>支付方式:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="payMethod" name="payMethod" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>备用信息:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="remark" name="remark" value="" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td width="30%" align=right>订单禁止重复提交标志:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="isRepeatSubmit" name="isRepeatSubmit" value="1" size="50" />
			</td>
			<td width="25%" align=left></td>
		</tr>
		
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;0:不允许,1:允许 (不填则当成1处理)</td>
			<td width="25%" align=left></td>
		</tr>

		<tr>
			<td colspan=2>&nbsp;
				<td width="25%" align=left></td>
		</tr>
		<tr>
			<td colspan=2 width="100%"><center>
					<input type="button" value="设置默认值" id="defButton" name="defButton">&nbsp;&nbsp;&nbsp;&nbsp;<input
						type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>

	</table>
</form:form>
<div>
	<img src="${ctx}/image/zhifu.jpg" alt="" height="200px"></img>
</div>
